package tec.stan.ling.core.top.model;

/**
 * TOPO link which support the alarm and state.
 * 
 * @author Stan 张新潮
 * @since 2010-01-08
 */
public interface Link extends NE {

	/**
	 * Left right device of link
	 * 
	 * @return
	 */
	Device getSource();

	Device getTarget();

	/**
	 * State of Net Element
	 * 
	 * @return
	 */
	NEState getState();

	void serState(NEState state);

	static final String LINK_STATE = "Link:state";

	// /**
	// * State of Net Element
	// * @return
	// */
	// NEAlarm getAlarm();
	//
	// void setAlarm(NEAlarm alarm);
}
